package org.example.service.impl;

import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.example.service.TestService;
import org.springframework.stereotype.Service;

/**
 * @author:stefanie-zy
 * @time:2023/11/28-15:55
 * @description:
 */
@Service
public class TestServiceImpl implements TestService {
    @Override
    @Trace(operationName = "TEST-SERVICE")
    public String test() {
        long l = System.currentTimeMillis();
        return "这是一个测试接口：" + l;
    }
}
